/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.table.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.table.entity.JpContents;
import com.jeeplus.modules.table.mapper.JpContentsMapper;

/**
 * 条例Service
 * @author 姜盼
 * @version 2020-09-20
 */
@Service
@Transactional(readOnly = true)
public class JpContentsService extends CrudService<JpContentsMapper, JpContents> {

	public JpContents get(String id) {
		return super.get(id);
	}
	
	public List<JpContents> findList(JpContents jpContents) {
		return super.findList(jpContents);
	}
	
	public Page<JpContents> findPage(Page<JpContents> page, JpContents jpContents) {
		return super.findPage(page, jpContents);
	}
	
	@Transactional(readOnly = false)
	public void save(JpContents jpContents) {
		super.save(jpContents);
	}
	
	@Transactional(readOnly = false)
	public void delete(JpContents jpContents) {
		super.delete(jpContents);
	}
	
}